﻿/*****************************************************************
 * Copyright (C) Knights Warrior Corporation. All rights reserved.
 * 
 * Author:   圣殿骑士（Knights Warrior） 
 * Email:    KnightsWarrior@msn.com
 * Website:  http://www.cnblogs.com/KnightsWarrior/       http://knightswarrior.blog.51cto.com/
 * Create Date:  5/8/2010 
 * Usage:
 *
 * RevisionHistory
 * Date         Author               Description
 * 
*****************************************************************/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AutoUpdater
{
    public class ConstFile
    {
        /// <summary>
        /// 本执行文件的名称
        /// </summary>
        public static string ThisName = Path.GetFileNameWithoutExtension(Application.ExecutablePath);
        public static string MainExeName = "Main";
        public static string DllAppName = "DllAPPMain";
        public static bool IsDll = true;

        public const string TEMPFOLDERNAME = "TempFolder";
        public const string CONFIGFILEKEY = "config_";
        public const string FILENAME = "AutoUpdater.config";
        public static string ROOLBACKFILE = MainExeName + ".exe";
        public const string MESSAGETITLE = "AutoUpdate Program";
        public const string CANCELORNOT = " 正在进行中。你真的要取消吗？";
        public const string APPLYTHEUPDATE = "程序需要重新启动以应用更新，请单击OK重新启动程序！";
        public const string NOTNETWORK = " 更新不成功. 请重新启动。请尝试再次更新。";
    }
}
